import request from '@/utils/request'

//最新MV
export function getVideo() {
    return request({
        url: '/mv/first',
        type: 'get',
        params: {
            limit: 4
        }
    })
}
// 网易出品MV
export function getMvExclusiveRcmd() {
    return request({
        url: '/mv/exclusive/rcmd',
        type: 'get',
        params: {
            limit: 4
        }
    })
}
//获取MV的url
export function getMvUrl(params) {
    return request({
        url: '/mv/url',
        type: 'get',
        params
    })
}
//获取MV详细数据
export function getMvDetail(params) {
    return request({
        url: '/mv/detail',
        type: 'get',
        params
    })
}

//获取MV评论
export function getCommentMv(params) {
    return request({
        url: '/comment/mv',
        type: 'get',
        params
    })
}

// 发布或删除评论
export function getComment(params) {
    return request({
        url: '/comment',
        type: 'get',
        params
    })
}